<?php

namespace Tbqphplib\Article\Model;

use Illuminate\Database\Eloquent\Model;

class Article extends Model
{
    protected $table = 'articles';

    public function keywords()
    {
        return $this->belongsToMany('Tbqphplib\Article\Model\Tag', 'article_tag_link', 'article_id', 'tag_id');
    }
}
